package com.hhj.pojo;

import lombok.Data;

import java.util.Date;

//员工表
@Data
public class Employee {

    private Integer id;
    private String lastName;
    private String email;
    private Integer sex;

    private Department department;
    private Date birthday;

    public Employee(Integer id, String lastName, String email, Integer sex, Department department) {
        this.id = id;
        this.lastName = lastName;
        this.email = email;
        this.sex = sex;
        this.department = department;
        this.birthday = new Date();
    }
}
